GUI Help > Other > resetMainWindow

resetMainWindow
resetMainWindow

Description:
Resets the main program window. The black window created by DarkBASIC Professional sometimes "forgets" certain settings when you use the SET WINDOW LAYOUT, MINIMIZE WINDOW or MAXIMIZE WINDOW commands. This results in gadgets disappearing or "flicking" in and out of view.

Call resetMainWindow to "fix" the main window. You may need to call paintGadget again to update the gadgets.

Return Value:


Parameters:
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)